<?php
/**
 * Created by PhpStorm.
 * User: don
 * Date: 17/3/28
 * Time: 下午4:54
 */
namespace App;

interface ErrorCode{

    const SUCCESS = 0;
    const NOT_EMPTY_VARIABLE = 1;
    const CREATE_ERROR=2;
    const UPDATE_ERROR=3;
    const AUTH_NOT_ENOUGH = 4;
    const PARAM_ERROR=5;
    const LOGIN_WEB_ERROR=6;
    const LOGIN_NOT_ERROR=7;
    const CREATE_JJ_ERROR=8;
    const OPERATION_ERROR=9;



    const PARAM_NOT_EMPTY = 10;
    const SING_UP_ERROR = 11;
    const PHONE_EXISTS = 12;

    const LOGIN_ERROR = 13;
    const USERNAME_NOT_EXISTS = 14;


    const USER_EXIST = 20;
    const PWD_ERROR = 21;
    const PHONE_EXIST = 22;

    const DOMAIN_NOT_ALLOW = 60;
    const UPLOAD_FILE_EMPTY = 61;
    const UPLOAD_FILE_ERROR = 62;
    const FILE_NOT_ALLOW = 63;
    const FILE_NOT_EXIST = 64;

    const MEMBER_EXISTS = 100;
    const SMS_CODE_FAILD = 101;
}